//
//  WhTSprite.h
//  ProjectM
//
//  Created by ris on 11-3-23.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//


#import <Foundation/Foundation.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#include "WhTDef.h"

@interface WhTSprite : NSObject {
	GLuint texture_id[6];
	NSMutableArray *res_;
	
	WhTPoint position_;
	WhTPoint scale_;
}

@property (nonatomic) WhTPoint position;
@property (nonatomic) WhTPoint scale;

- (id)initWithPaths:(id) firstObject, ...;
- (void)render;

@end

